package com.ysz.eureka.memberclent.contorller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ysz.eureka.memberclent.service.UserService;

/**
 * @author: yushizhong
 * @date: 2022-01-20 16:30
 * @version: 1.0
 **/
@RestController
@RequestMapping("/member")
public class MemberController {

    @Resource
    private UserService userService;

    @GetMapping("/get")
    String getUserName() {
        int i = 0;

        return userService.getName();
    }
}
